package com.gency.subscribe.model.system;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author 马行空
 * @since 2018-06-12
 */
@TableName("sys_depart_type")
public class DepartType extends Model<DepartType> {

    private static final long serialVersionUID = 1L;

    /**
     * 数据编号
     */
	private Long id;
    /**
     * 部门类别名称
     */
	private String departmentTypeName;
    /**
     * 创建时间
     */
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDepartmentTypeName() {
		return departmentTypeName;
	}

	public void setDepartmentTypeName(String departmentTypeName) {
		this.departmentTypeName = departmentTypeName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "DepartType{" +
			"id=" + id +
			", departmentTypeName=" + departmentTypeName +
			", createTime=" + createTime +
			"}";
	}
}
